let's set the path, which we're going to pass with the emission of
authorKristian Rietveld <kris@gtk.org>
Tue, 5 Feb 2002 21:53:51 +0000 (21:53 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Tue, 5 Feb 2002 21:53:51 +0000 (21:53 +0000)
Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
        path, which we're going to pass with the emission of row_inserted, to
        the iter we inserted and not its sibling.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkliststore.c

index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 456bf76e658a2d2f60cf0a94df56cee273c0da4e..da7243fc5f5f1a190edf449ea3377dc0f72970be 100644 (file)
@@ -1,3 +1,9 @@
+Tue Feb  5 22:54:16 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+       path, which we're going to pass with the emission of row_inserted, to
+       the iter we inserted and not its sibling.
+
 2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
 
        * gtk/gtkmenu.c (gtk_menu_popup):
index 475a4ceb376dbc8af681914e81fbbe42c045d015..829cfa939cb981d29ae99ba56127cb4362876729 100644 (file)
@@ -1223,7 +1223,7 @@ gtk_list_store_insert_after (GtkListStore *list_store,
   validate_list_store (list_store);
 
   path = gtk_tree_path_new ();
-  gtk_tree_path_append_index (path, i);
+  gtk_tree_path_append_index (path, i + 1);
   gtk_tree_model_row_inserted (GTK_TREE_MODEL (list_store), path, iter);
   gtk_tree_path_free (path);
 }